package com.xyz.study.design_mode.c_template_method.mode;

/**
 * role: AbstractClass 模板接口
 * @author XYZ
 * @version 1.0.0
 * @since 2021/1/15
 */
public interface Template {

    default void execute() {
        processOne();
        processTwo();
        processThree();
        processFour();
    }

    void processOne();

    void processTwo();

    void processThree();

    void processFour();
}
